<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="map" uri="/map" %>  

<c:if test="${map:isNotEmpty(module_rights) }">
	<div class="core-panel" fit="false" style="padding:4px;">
		<c:if test="${map:has(module_rights,'B-G-E') }">
			<a class="core-button" icon="icon-add" id="add" type="list" onclick="app.module.add($(this))">添加</a>
			<a class="core-button" icon="icon-del" id="del" type="list" onclick="app.module.del($(this))">删除</a>
		</c:if>
		<c:if test="${map:has(module_rights,'B-G-L') }">
			<a class="core-button" icon="icon-lock" id="lock" type="list" onclick="app.module.lock($(this))">加锁</a>
			<a class="core-button" icon="icon-unlock" id="unlock" type="list" onclick="app.module.unlock($(this))">解锁</a>
		</c:if>
	</div>
</c:if>